package com.camel.base.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.camel.base.mapper.ZsQuestionMapper;
import com.camel.base.model.ZsQuestion;
import com.camel.base.model.ZsSurvey;
import com.camel.base.service.ZsQuestionService;
import com.camel.core.service.AbstractBaseCommonService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author 86183
 * @description 针对表【zs_question】的数据库操作Service实现
 * @createDate 2022-12-15 16:56:03
 */
@Service
public class ZsQuestionServiceImpl extends AbstractBaseCommonService<ZsQuestionMapper, ZsQuestion> implements ZsQuestionService<ZsQuestion> {

    @Autowired
    private ZsQuestionMapper mapper;

    @Override
    public List<ZsQuestion> selectList(Integer surveyId) {
        return mapper.selectListBySurveyId(surveyId);
    }
}




